package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class SimpleDemoWindowActivity extends UMWindowActivity {

	protected UMWindow SimpleDemoWindow = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button1 = null;
protected UMLabel label15 = null;
protected UMButton button2 = null;
protected UmpSlidingLayout slidingviewdefine0 = null;
protected UmpSlidingLinearLayout panel_main = null;
protected XHorizontalLayout panel12 = null;
protected UMButton btn_createtbl = null;
protected UMButton btn_openquery = null;
protected UMButton btn_add = null;
protected UMButton btn_remove = null;
protected UMTextbox txt_quickfilter = null;
protected UMLabel label9 = null;
protected UMListViewBase listviewdefine0 = null;
protected XVerticalLayout panel4 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label8 = null;
protected UMLabel listlbl_orderid = null;
protected XHorizontalLayout panel6 = null;
protected UMLabel label10 = null;
protected UMLabel listlbl_material = null;
protected XHorizontalLayout panel7 = null;
protected UMLabel label12 = null;
protected UMLabel listlbl_orderdate = null;
protected UMLabel label14 = null;
protected UMLabel listlbl_ordermaker = null;
protected UmpSlidingLinearLayout panel_right = null;
protected UMLabel label11 = null;
protected XHorizontalLayout panel11 = null;
protected UMLabel label22 = null;
protected UMLabel label23 = null;
protected UMTextbox orderid = null;
protected XHorizontalLayout panel10 = null;
protected UMLabel label20 = null;
protected UMLabel label21 = null;
protected UMTextbox material = null;
protected XHorizontalLayout panel9 = null;
protected UMLabel label18 = null;
protected UMLabel label19 = null;
protected UMDateEdit orderdate = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label16 = null;
protected UMLabel label17 = null;
protected UMTextbox ordermaker = null;
protected UMButton btn_submit = null;
protected UMButton btn_openscan = null;
protected UmpSlidingLinearLayout panel_left = null;
protected UMLabel label24 = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label6 = null;
protected UMLabel label7 = null;
protected UMTextbox qrytxt_orderid = null;
protected XHorizontalLayout panel2 = null;
protected UMLabel label4 = null;
protected UMLabel label5 = null;
protected UMTextbox qrytxt_material = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label2 = null;
protected UMLabel label3 = null;
protected UMDateEdit qrytxt_orderdate = null;
protected XHorizontalLayout panel0 = null;
protected UMLabel label0 = null;
protected UMLabel label1 = null;
protected UMTextbox qrytxt_ordermaker = null;
protected UMButton btn_query = null;

	
	protected final static int ID_SIMPLEDEMOWINDOW = 1671390045;
protected final static int ID_VIEWPAGE0 = 2078036080;
protected final static int ID_NAVIGATORBAR0 = 260828406;
protected final static int ID_BUTTON1 = 1834853659;
protected final static int ID_LABEL15 = 297429180;
protected final static int ID_BUTTON2 = 1958018934;
protected final static int ID_SLIDINGVIEWDEFINE0 = 1213413983;
protected final static int ID_PANEL_MAIN = 1899863669;
protected final static int ID_PANEL12 = 2126731101;
protected final static int ID_BTN_CREATETBL = 298762608;
protected final static int ID_BTN_OPENQUERY = 1221008534;
protected final static int ID_BTN_ADD = 1285239127;
protected final static int ID_BTN_REMOVE = 1071494138;
protected final static int ID_TXT_QUICKFILTER = 2121783528;
protected final static int ID_LABEL9 = 1472537726;
protected final static int ID_LISTVIEWDEFINE0 = 47912756;
protected final static int ID_PANEL4 = 1199818033;
protected final static int ID_PANEL5 = 591296758;
protected final static int ID_LABEL8 = 230904772;
protected final static int ID_LISTLBL_ORDERID = 393054465;
protected final static int ID_PANEL6 = 1737871282;
protected final static int ID_LABEL10 = 1610609579;
protected final static int ID_LISTLBL_MATERIAL = 649410371;
protected final static int ID_PANEL7 = 470142411;
protected final static int ID_LABEL12 = 1636611984;
protected final static int ID_LISTLBL_ORDERDATE = 1815960833;
protected final static int ID_LABEL14 = 2084422568;
protected final static int ID_LISTLBL_ORDERMAKER = 1603512348;
protected final static int ID_PANEL_RIGHT = 1665350112;
protected final static int ID_LABEL11 = 207555918;
protected final static int ID_PANEL11 = 1276106841;
protected final static int ID_LABEL22 = 1493780698;
protected final static int ID_LABEL23 = 383294293;
protected final static int ID_ORDERID = 1407186267;
protected final static int ID_PANEL10 = 806980754;
protected final static int ID_LABEL20 = 1209945176;
protected final static int ID_LABEL21 = 671924923;
protected final static int ID_MATERIAL = 1817945152;
protected final static int ID_PANEL9 = 1456186189;
protected final static int ID_LABEL18 = 853400423;
protected final static int ID_LABEL19 = 277607261;
protected final static int ID_ORDERDATE = 1163984636;
protected final static int ID_PANEL8 = 2082951082;
protected final static int ID_LABEL16 = 1971882357;
protected final static int ID_LABEL17 = 1439204523;
protected final static int ID_ORDERMAKER = 1707236884;
protected final static int ID_BTN_SUBMIT = 1190352799;
protected final static int ID_BTN_OPENSCAN = 662983026;
protected final static int ID_PANEL_LEFT = 175674632;
protected final static int ID_LABEL24 = 1525641444;
protected final static int ID_PANEL3 = 30304611;
protected final static int ID_LABEL6 = 1547354852;
protected final static int ID_LABEL7 = 1393717093;
protected final static int ID_QRYTXT_ORDERID = 1747693560;
protected final static int ID_PANEL2 = 1294525980;
protected final static int ID_LABEL4 = 1466553392;
protected final static int ID_LABEL5 = 1206147426;
protected final static int ID_QRYTXT_MATERIAL = 762047705;
protected final static int ID_PANEL1 = 278515716;
protected final static int ID_LABEL2 = 1117042196;
protected final static int ID_LABEL3 = 217498660;
protected final static int ID_QRYTXT_ORDERDATE = 1686483039;
protected final static int ID_PANEL0 = 226535836;
protected final static int ID_LABEL0 = 819472022;
protected final static int ID_LABEL1 = 915786684;
protected final static int ID_QRYTXT_ORDERMAKER = 805779228;
protected final static int ID_BTN_QUERY = 433196968;

	
	
	@Override
	public String getControllerName() {
		return "SimpleDemoWindowController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("SimpleDemoWindow",ID_SIMPLEDEMOWINDOW);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button1",ID_BUTTON1);
  idmap.put("label15",ID_LABEL15);
  idmap.put("button2",ID_BUTTON2);
  idmap.put("slidingviewdefine0",ID_SLIDINGVIEWDEFINE0);
  idmap.put("panel_main",ID_PANEL_MAIN);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("btn_createtbl",ID_BTN_CREATETBL);
  idmap.put("btn_openquery",ID_BTN_OPENQUERY);
  idmap.put("btn_add",ID_BTN_ADD);
  idmap.put("btn_remove",ID_BTN_REMOVE);
  idmap.put("txt_quickfilter",ID_TXT_QUICKFILTER);
  idmap.put("label9",ID_LABEL9);
  idmap.put("listviewdefine0",ID_LISTVIEWDEFINE0);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label8",ID_LABEL8);
  idmap.put("listlbl_orderid",ID_LISTLBL_ORDERID);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("label10",ID_LABEL10);
  idmap.put("listlbl_material",ID_LISTLBL_MATERIAL);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("label12",ID_LABEL12);
  idmap.put("listlbl_orderdate",ID_LISTLBL_ORDERDATE);
  idmap.put("label14",ID_LABEL14);
  idmap.put("listlbl_ordermaker",ID_LISTLBL_ORDERMAKER);
  idmap.put("panel_right",ID_PANEL_RIGHT);
  idmap.put("label11",ID_LABEL11);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("label22",ID_LABEL22);
  idmap.put("label23",ID_LABEL23);
  idmap.put("orderid",ID_ORDERID);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("label20",ID_LABEL20);
  idmap.put("label21",ID_LABEL21);
  idmap.put("material",ID_MATERIAL);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("label18",ID_LABEL18);
  idmap.put("label19",ID_LABEL19);
  idmap.put("orderdate",ID_ORDERDATE);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label16",ID_LABEL16);
  idmap.put("label17",ID_LABEL17);
  idmap.put("ordermaker",ID_ORDERMAKER);
  idmap.put("btn_submit",ID_BTN_SUBMIT);
  idmap.put("btn_openscan",ID_BTN_OPENSCAN);
  idmap.put("panel_left",ID_PANEL_LEFT);
  idmap.put("label24",ID_LABEL24);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label6",ID_LABEL6);
  idmap.put("label7",ID_LABEL7);
  idmap.put("qrytxt_orderid",ID_QRYTXT_ORDERID);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("label4",ID_LABEL4);
  idmap.put("label5",ID_LABEL5);
  idmap.put("qrytxt_material",ID_QRYTXT_MATERIAL);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label2",ID_LABEL2);
  idmap.put("label3",ID_LABEL3);
  idmap.put("qrytxt_orderdate",ID_QRYTXT_ORDERDATE);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("label1",ID_LABEL1);
  idmap.put("qrytxt_ordermaker",ID_QRYTXT_ORDERMAKER);
  idmap.put("btn_query",ID_BTN_QUERY);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(SimpleDemoWindowActivity.this);
    actionViewpage0_onload(viewPage0,args);

}
{ //slidingviewdefine0 - action:slidingviewdefine0_onload
    UMEventArgs args = new UMEventArgs(SimpleDemoWindowActivity.this);
    actionSlidingviewdefine0_onload(slidingviewdefine0,args);

}
{ //panel_main - action:panel_main_onload
    UMEventArgs args = new UMEventArgs(SimpleDemoWindowActivity.this);
    actionPanel_main_onload(panel_main,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","标题"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button1 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON1
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"padding-left","20"
,"font-size","20"
,"valign","center"
,"width","88"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"value","返回"
,"height","44"
,"pressed-image","btn_back_touch"
);
navigatorbar0.addView(button1);
label15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL15
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label15);
button2 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON2
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"width","wrap"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"value","按钮"
,"widthwrap","44.0"
,"height","44"
);
navigatorbar0.addView(button2);

return navigatorbar0;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL12
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"margin-bottom","10"
,"height","40"
);
btn_createtbl = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_CREATETBL
,"color","#e50011"
,"onclick","action:btn_createtbl_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"background","#f7931e"
,"width","60"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","建表"
,"height","40"
);
panel12.addView(btn_createtbl);
btn_openquery = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_OPENQUERY
,"color","#e50011"
,"onclick","action:btn_openquery_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"background","#f7931e"
,"width","60"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","查询"
,"height","40"
);
panel12.addView(btn_openquery);
btn_add = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_ADD
,"color","#e50011"
,"onclick","action:btn_add_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"background","#f7931e"
,"width","60"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","新增"
,"height","40"
);
panel12.addView(btn_add);
btn_remove = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_REMOVE
,"color","#e50011"
,"onclick","action:btn_remove_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"background","#f7931e"
,"width","60"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","个数"
,"height","40"
);
panel12.addView(btn_remove);

return panel12;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"color","#0000ff"
,"font-weight","bold"
,"font-size","16"
,"valign","center"
,"content","订单号："
,"margin-right","10"
,"margin-left","10"
,"width","70"
,"font-family","default"
,"layout-type","hbox"
,"halign","right"
,"height","20"
);
panel5.addView(label8);
listlbl_orderid = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LISTLBL_ORDERID
,"bindfield","orderid"
,"color","#0000ff"
,"font-weight","bold"
,"width","fill"
,"font-size","16"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"height","20"
);
panel5.addView(listlbl_orderid);

return panel5;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"margin-left","10"
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","物料："
,"margin-right","10"
,"height","20"
);
panel6.addView(label10);
listlbl_material = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LISTLBL_MATERIAL
,"bindfield","material"
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","265.0"
,"height","wrap"
);
panel6.addView(listlbl_material);

return panel6;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"margin-left","10"
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","订单日期："
,"margin-right","10"
,"height","20"
);
panel7.addView(label12);
listlbl_orderdate = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LISTLBL_ORDERDATE
,"bindfield","orderdate"
,"color","#000000"
,"width","80"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"height","20"
);
panel7.addView(listlbl_orderdate);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"margin-left","10"
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","制单人："
,"margin-right","10"
,"height","20"
);
panel7.addView(label14);
listlbl_ordermaker = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LISTLBL_ORDERMAKER
,"bindfield","ordermaker"
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"height","wrap"
);
panel7.addView(listlbl_ordermaker);

return panel7;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL4
,"onlongclick","action:panel4_onlongclick"
,"border-bottom-color","#C7C7C7"
,"background","#FFFFFF"
,"ondoubletap","action:panel4_ondoubletap"
,"border-bottom-width","1"
,"width","fill"
,"valign","CENTER"
,"layout-type","vbox"
,"halign","left"
,"height","90"
);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel4.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
panel4.addView(panel6);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel4.addView(panel7);

return panel4;
}
public View getListviewdefine0View(final UMActivity context,IBinderGroup binderGroup) {
listviewdefine0 = (UMListViewBase)ThirdControl.createControl(new UMListViewBase(context),ID_LISTVIEWDEFINE0
,"layout","vbox"
,"bindfield","listdata"
,"collapsed","true"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","300"
);
listviewdefine0.addListItemView("getPanel4View");

return listviewdefine0;
}
public View getPanel_mainView(final UMActivity context,IBinderGroup binderGroup) {
panel_main = (UmpSlidingLinearLayout)ThirdControl.createControl(new UmpSlidingLinearLayout(context),ID_PANEL_MAIN
,"padding-top","10"
,"padding-left","10"
,"padding-bottom","10"
,"valign","TOP"
,"slidingtype","main"
,"onload","action:panel_main_onload"
,"layout","vbox"
,"width","fill"
,"layout-type","vbox"
,"halign","center"
,"padding-right","10"
,"height","fill"
);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
panel_main.addView(panel12);
txt_quickfilter = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TXT_QUICKFILTER
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"onchange","action:txt_quickfilter_onchange"
,"font-size","17"
,"bindfield","txt_quickfilter"
,"background","#ffffff"
,"width","200"
,"font-family","default"
,"placeholder",""
,"layout-type","vbox"
,"halign","LEFT"
,"height","44"
);
panel_main.addView(txt_quickfilter);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"padding-top","10"
,"color","#000000"
,"font-size","14"
,"padding-bottom","10"
,"valign","center"
,"content","订单列表"
,"background","#c0c0c0"
,"width","fill"
,"font-family","default"
,"layout-type","vbox"
,"halign","center"
,"height","40"
);
panel_main.addView(label9);
View listviewdefine0 = (View) getListviewdefine0View((UMActivity)context,binderGroup);
panel_main.addView(listviewdefine0);

return panel_main;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label22 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL22
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","订单号"
,"height","20"
);
panel11.addView(label22);
label23 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL23
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel11.addView(label23);
orderid = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_ORDERID
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","17"
,"bindfield","txt_orderid"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder","订单号"
,"layout-type","hbox"
,"halign","LEFT"
,"height","43"
);
panel11.addView(orderid);

return panel11;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label20 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL20
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","物料"
,"height","20"
);
panel10.addView(label20);
label21 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL21
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel10.addView(label21);
material = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_MATERIAL
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","17"
,"bindfield","txt_material"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder","物料"
,"layout-type","hbox"
,"halign","LEFT"
,"height","43"
);
panel10.addView(material);

return panel10;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label18 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL18
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","订单日期"
,"height","20"
);
panel9.addView(label18);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel9.addView(label19);
orderdate = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_ORDERDATE
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","17"
,"bindfield","txt_orderdate"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder","订单日期"
,"layout-type","hbox"
,"halign","LEFT"
,"height","43"
);
panel9.addView(orderdate);

return panel9;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label16 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL16
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","制单人"
,"height","20"
);
panel8.addView(label16);
label17 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL17
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel8.addView(label17);
ordermaker = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_ORDERMAKER
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","17"
,"bindfield","txt_ordermaker"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder","制单人"
,"layout-type","hbox"
,"halign","LEFT"
,"height","43"
);
panel8.addView(ordermaker);

return panel8;
}
public View getPanel_rightView(final UMActivity context,IBinderGroup binderGroup) {
panel_right = (UmpSlidingLinearLayout)ThirdControl.createControl(new UmpSlidingLinearLayout(context),ID_PANEL_RIGHT
,"layout","vbox"
,"width","300"
,"valign","TOP"
,"layout-type","vbox"
,"halign","right"
,"slidingtype","right"
,"height","fill"
);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"padding-top","10"
,"color","#000000"
,"font-size","14"
,"padding-bottom","10"
,"valign","center"
,"content","订单卡片"
,"background","#c0c0c0"
,"width","fill"
,"font-family","default"
,"layout-type","vbox"
,"halign","center"
,"height","40"
);
panel_right.addView(label11);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
panel_right.addView(panel11);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
panel_right.addView(panel10);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel_right.addView(panel9);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel_right.addView(panel8);
btn_submit = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_SUBMIT
,"color","#e50011"
,"onclick","action:btn_submit_onclick"
,"font-size","17"
,"valign","center"
,"background","#f7931e"
,"width","fill"
,"font-family","default"
,"margin-top","10"
,"layout-type","vbox"
,"halign","center"
,"margin-bottom","10"
,"value","提交"
,"height","44"
);
panel_right.addView(btn_submit);
btn_openscan = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_OPENSCAN
,"color","#e50011"
,"background","#f7931e"
,"onclick","action:btn_openscan_onclick"
,"width","fill"
,"font-size","17"
,"font-family","default"
,"valign","center"
,"layout-type","vbox"
,"halign","center"
,"value","扫描二维码"
,"height","44"
);
panel_right.addView(btn_openscan);

return panel_right;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","订单号"
,"height","20"
);
panel3.addView(label6);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel3.addView(label7);
qrytxt_orderid = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_QRYTXT_ORDERID
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","17"
,"bindfield","qrytxt_orderid"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder","订单号"
,"layout-type","hbox"
,"halign","LEFT"
,"height","43"
);
panel3.addView(qrytxt_orderid);

return panel3;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","物料"
,"height","20"
);
panel2.addView(label4);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel2.addView(label5);
qrytxt_material = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_QRYTXT_MATERIAL
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","17"
,"bindfield","qrytxt_material"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder","物料"
,"layout-type","hbox"
,"halign","LEFT"
,"height","43"
);
panel2.addView(qrytxt_material);

return panel2;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","订单日期"
,"height","20"
);
panel1.addView(label2);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel1.addView(label3);
qrytxt_orderdate = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QRYTXT_ORDERDATE
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","17"
,"bindfield","qrytxt_orderdate"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder","订单日期"
,"layout-type","hbox"
,"halign","LEFT"
,"height","43"
);
panel1.addView(qrytxt_orderdate);

return panel1;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL0
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"color","#000000"
,"width","70"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","制单人"
,"height","20"
);
panel0.addView(label0);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel0.addView(label1);
qrytxt_ordermaker = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_QRYTXT_ORDERMAKER
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","17"
,"bindfield","qrytxt_ordermaker"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"placeholder","制单人"
,"layout-type","hbox"
,"halign","LEFT"
,"height","43"
);
panel0.addView(qrytxt_ordermaker);

return panel0;
}
public View getPanel_leftView(final UMActivity context,IBinderGroup binderGroup) {
panel_left = (UmpSlidingLinearLayout)ThirdControl.createControl(new UmpSlidingLinearLayout(context),ID_PANEL_LEFT
,"layout","vbox"
,"width","300"
,"valign","TOP"
,"layout-type","vbox"
,"halign","left"
,"slidingtype","left"
,"height","fill"
);
label24 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL24
,"padding-top","10"
,"color","#000000"
,"font-size","14"
,"padding-bottom","10"
,"valign","center"
,"content","订单-查询条件"
,"background","#c0c0c0"
,"width","fill"
,"font-family","default"
,"layout-type","vbox"
,"halign","center"
,"height","40"
);
panel_left.addView(label24);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel_left.addView(panel3);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel_left.addView(panel2);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel_left.addView(panel1);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
panel_left.addView(panel0);
btn_query = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_QUERY
,"color","#e50011"
,"onclick","action:btn_query_onclick"
,"font-size","17"
,"valign","center"
,"background","#f7931e"
,"width","fill"
,"font-family","default"
,"margin-top","10"
,"layout-type","vbox"
,"halign","center"
,"value","查询"
,"height","44"
);
panel_left.addView(btn_query);

return panel_left;
}
public View getSlidingviewdefine0View(final UMActivity context,IBinderGroup binderGroup) {
slidingviewdefine0 = (UmpSlidingLayout)ThirdControl.createControl(new UmpSlidingLayout(context),ID_SLIDINGVIEWDEFINE0
,"slidingright-width","300"
,"rightview","panel_right"
,"valign","TOP"
,"onload","action:slidingviewdefine0_onload"
,"slidingleft-width","300"
,"mainview","panel_main"
,"leftview","panel_left"
,"layout","vbox"
,"width","fill"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View panel_main = (View) getPanel_mainView((UMActivity)context,binderGroup);
slidingviewdefine0.addView(panel_main);
View panel_right = (View) getPanel_rightView((UMActivity)context,binderGroup);
slidingviewdefine0.addView(panel_right);
View panel_left = (View) getPanel_leftView((UMActivity)context,binderGroup);
slidingviewdefine0.addView(panel_left);

return slidingviewdefine0;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F7F8F8"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View slidingviewdefine0 = (View) getSlidingviewdefine0View((UMActivity)context,binderGroup);
viewPage0.addView(slidingviewdefine0);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
SimpleDemoWindow = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_SIMPLEDEMOWINDOW
,"layout","vbox"
,"controller","SimpleDemoWindowController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
SimpleDemoWindow.addView(viewPage0);

return (UMWindow)SimpleDemoWindow;
}

	
	public void actionBtn_add_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_add_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btn_add_onclick()",UMActivity.getViewId(control),args);
}
public void actionPanel_main_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "panel_main_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.panel_main_onload()",UMActivity.getViewId(control),args);
}
public void actionBtn_createtbl_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_createtbl_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btn_createtbl_onclick()",UMActivity.getViewId(control),args);
}
public void actionSlidingviewdefine0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "slidingviewdefine0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.slidingviewdefine0_onload()",UMActivity.getViewId(control),args);
}
public void actionPanel4_onlongclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "panel4_onlongclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.panel4_onlongclick()",UMActivity.getViewId(control),args);
}
public void actionBtn_submit_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_submit_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btn_submit_onclick()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.viewPage0_onload()",UMActivity.getViewId(control),args);
}
public void actionBtn_query_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_query_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btn_query_onclick()",UMActivity.getViewId(control),args);
}
public void actionPanel4_ondoubletap(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "panel4_ondoubletap";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.panel4_ondoubletap()",UMActivity.getViewId(control),args);
}
public void actionBtn_openscan_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_openscan_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btn_openscan_onclick()",UMActivity.getViewId(control),args);
}
public void actionBtn_remove_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_remove_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btn_remove_onclick()",UMActivity.getViewId(control),args);
}
public void actionBtn_openquery_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_openquery_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.btn_openquery_onclick()",UMActivity.getViewId(control),args);
}
public void actionTxt_quickfilter_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "txt_quickfilter_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "NCMMPubUtil.quickFilter()",UMActivity.getViewId(control),args);
}


}
